home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2000 #1
/
Amiga Plus CD - 2000 - No. 1.iso
/
Tools
/
Misc
/
CGXBlanker
/
Install
< prev
next >
Wrap
Text File
|
1999-12-03
|
2KB
|
111 lines
; $VER: Installation script for CGXBlanker 1.21
; © Stefan Robl
; Created with GoldED 6.1.4
; check if we are running under correct OS
(if (< (/ (getversion) 65536) 39)
(
(abort "Incorrect OS version (software requires OS 39 or better )!")
)
)
; error handling
(onerror
(if (> @ioerr 0)
(
(message
("An error has occurred during installation. Please check the log file to understand the error.")
)
)
)
(exit (quiet))
)
(welcome)
(set @default-dest
(askdir
(prompt "Where do you want to have the blanker program beeing copied?")
(help "Normally, this is your System:WBStartup drawer.")
(default "Sys:WBStartup")
)
)
(set @prefspath
(askdir
(prompt "Where do you want to have the prefs settings program beeing copied?")
(help "Normally, this is your System:Prefs drawer.")
(default "Sys:Prefs")
)
)
(set #cputype
(askchoice
(prompt "Which CPU type(s) do you want to have supported?")
(help "Select the type of CPU you want to have supported.")
(choices
" 68020 or better"
" 68040 or better (FPU required)"
)
(default 0)
)
)
(COMPLETE 30) ; wizard.library
(copylib
(prompt "Copying wizard.library to LIBS:")
(help "The \"wizard.library\" is needed for the prefs program's GUI.\nIt is the free distributable part of Haage&Partners StormWIZARD system.")
(source "libs/wizard.library")
(dest "LIBS:")
(optional nofail force askuser)
(confirm)
)
(COMPLETE 60) ; Prefs
(copyfiles
(prompt "Copying Prefs program...")
(source "CGXBlankerPrefs")
(dest @prefspath)
(infos)
(optional nofail force askuser)
(confirm)
)
(COMPLETE 90) ; Blanker
(if (= #cputype 0)
( ; 020+
(copyfiles
(prompt "Copying 020+ program...")
(help @copy-files)
(source "CGXBlanker020+")
(newname "CGXBlanker")
(infos)
(dest @default-dest)
(optional nofail force)
)
)
; else
( ; 040+
(copyfiles
(prompt "Copying 040+ program...")
(help @copy-files)
(source "CGXBlanker040+")
(newname "CGXBlanker")
(infos)
(dest @default-dest)
(optional nofail force)
)
)
)
(COMPLETE 100)
(exit)